@import 'common';

#nav {
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    border-bottom: solid 1px #B3B3B3;
    background: #fafafa;
    .navlist {
        position: relative;
        height: 0.5rem;
        li {
            float: left;
            margin: 0;
            height: 0.5rem;
            width: 25%;
            a {
                width: 100%;
                display: inline-block;
                height: 0.5rem;
                border-right: 0.01rem solid #EAEAEA;
                text-align: center;
                span {
                    display: inline-block;
                    width: 0.5rem;
                    height: 0.5rem;
                    background: url("../img/icon.png") no-repeat 0 -0.46rem;
                    background-size: 2.14rem auto;
                }
                .active{
                    background-position: 0 -.46rem;
                }
                .active1{
                    background-position: -0.46rem -.46rem;
                }
                .active2{
                    background-position: -1.6rem -.46rem;
                }
                .active3{
                    background-position: -1rem 0;
                }
            }
        }
    }
}

.recommendcontent {
    width: 99%;
    overflow: hidden;
    margin: .6rem auto 0.05rem auto;
    ul {
        width: 100%;
         li {
            min-height: 1.25rem;
            overflow: hidden;
            background-color: #fff;
            box-shadow: 0 0 0.05rem #ccc;
            border: 1px solid #f2f2f2;
            margin: .1rem;
        }
        .setyuanjiao {
            border-top-left-radius: .1rem;
            border-top-right-radius: .1rem;
            .leftimages {
                width: 30%;
                height: 1rem;
                margin-top: 0.05rem;
                min-width: 1rem;
                img {
                    width: 1rem;
                    border: 0;
                }
            }
            .productcontent {
                width: 58%;
                margin-top: .1rem;
                .ptitle {
                    font-size: .16rem;
                    color: #4a534e;
                    font-weight: bold;
                    display: block;
                    font-family: "Microsoft YaHei";
                }
                .pdes {
                    font-size: .13rem;
                    color: #999;
                    margin-top: 0.05rem;
                    display: block;
                }
                .pprice {
                    margin-top: .1rem;
                    font-size: .14rem;
                    color: #4a4a4a;
                }
            }
        }
        .buynumsli {
            min-height: .5rem;
            margin-top: -.1rem;
            border-bottom-left-radius: .1rem;
            border-bottom-right-radius: .1rem;
            .buylabel {
                font-size: .14rem;
                float: left;
                margin: .15rem 0.2rem 0rem .1rem;
                font-family: "Microsoft YaHei";
            }
            .buynuminput {
                float: left;
                overflow: hidden;
                margin: .12rem 0 0 0.05rem;
                .reduce {
                    float: left;
                    width: .35rem;
                    height: .27rem;
                    border: 0.01rem solid #ccc;
                    border-right: none;
                    cursor: pointer;
                    background: url(../img/reduce.gif) center center no-repeat;
                }
                .itnums {
                    float: left;
                    width: .8rem;
                    height: .25rem;
                    border: 0..1rem solid #ccc;
                    text-align: center;
                    font-size: .14rem;
                    color: #990000;
                    font-weight: 800;
                }
                .add {
                    float: left;
                    width: .35rem;
                    height: .27rem;
                    border: 0.01rem solid #ccc;
                    border-left: none;
                    cursor: pointer;
                    background: url(../img/add.gif) center center no-repeat;
                }
            }
        }
    }
    .decorations {
        olor: #b6b6b6;
        overflow: hidden;
        background-color: #e7e7e7;
        box-shadow: 0 0 0.05rem #ccc;
        border: 0.01rem solid #ccc;
        margin: .1rem;
        padding: .15rem;
        font-size: .16rem;
        border-radius: .1rem;
        margin-bottom: .5rem;
        .dtitle {
            color: #939494;
            font-family: "Microsoft YaHei";
            font-weight: bold;
            margin-bottom: .1rem;
        }
        p {
            text-indent: .em;
            line-height: .23rem;
        }
        img {
            border: 0;
            width: 100%;
        }
    }
}

.addcart {
    width: 100%;
    left: 0;
    position: fixed;
    bottom: 0px;
    z-index: 10000;
    margin: 0 auto;
    display: block;
    .addcartbtn {
        width: 98%;
        background-color: #28c728;
        background-image: linear-gradient(to bottom, #18b218, #28c728);
        display: block;
        text-align: center;
        height: .5rem;
        line-height: .5rem;
        border: 0.01rem solid #31b231;
        border-radius: 0.05rem;
        color: #fff;
        font-weight: 800;
        font-size: .16rem;
        cursor: pointer;
        margin: 0 auto;
    }
}